<template>
  <div class="container flex-start">
    <div style="flex-basis: 50%;height: 100%;margin-right: 20px">
      <el-card class="box-card">
        <div v-for="o in list" @click="open(o.url)" :key="o.name" class="text item">
          <p class="web-name">{{ o.name }}</p>
        </div>
      </el-card>
    </div>
    <div style="flex-basis: 50%;height: 100%;">
      <el-card class="box-card">
       其他内容
      </el-card>
    </div>
  </div>
</template>

<script>
import BLL from './Index'

export default {
  components: {
  },
  data () {
    return {
      list: [
        {
          name: '博客',
          url: 'https://www.666ss.club/blog'
        },
        {
          name: 'Ss音乐',
          url: 'https://www.666ss.club/music'
        },
        {
          name: '简书',
          url: 'https://www.666ss.club/jianshu'
        },
        {
          name: '京东',
          url: 'https://www.666ss.club/JD'
        },
        {
          name: '鲜花生成器',
          url: 'https://www.666ss.club/flower'
        },
        {
          name: '配饰',
          url: 'https://www.666ss.club/Acc'
        },
        {
          name: '贪吃蛇',
          url: 'https://www.666ss.club/tc_snake'
        },
        {
          name: 'CSS3模仿相机快门特效',
          url: 'https://www.666ss.club/camera'
        },
        {
          name: 'jQuery密码强度检测代码',
          url: 'https://www.666ss.club/psw_power'
        },
        {
          name: '人员抽奖',
          url: 'https://www.666ss.club/get_person'
        },
        {
          name: '图片放大镜',
          url: 'https://www.666ss.club/magnifying_glass'
        },
        {
          name: '页面加载时动画',
          url: 'https://www.666ss.club/load_animate'
        },
        {
          name: '验证码',
          url: 'https://www.666ss.club/auth_code'
        }
      ]
    }
  },
  created () {
    // 初始化
    this.BLL = new BLL(this)
  },
  methods: {
    open (e) {
      window.open(e)
    }
  }
}
</script>

<style lang="less" scoped>
  @import "./Index";
</style>
